using System.Collections.Generic; 
using System.Text; 
using System; 


namespace Com.Easywiki.Model {
    
    public class Category : BaseEntity {
        public Category() {
        }
        public virtual string Lable { get; set; }
        public virtual bool IsRoot { get; set; }
	
    	public virtual string Link { get; set; } 
		public virtual int ParentId { get; set; }
		
		public override string ToString ()	{
    		return string.Format ("[Category: Lable={0}, IsRoot={1}, Link={2}, ParentId={3}]", Lable, IsRoot, Link, ParentId);
    	}
		
		public override bool Equals (object obj)
    	{
    		return base.Equals (obj);
    	}

    	public override int GetHashCode ()
    	{
    		return base.GetHashCode ();
    	}
    }
}
